fix current_syntax problem