fixing syntax error