Fixing syntax error