fixed small syntax problem in code