fixing syntax problem