fixed simple SQL syntax error