fix SQL syntax error (missing space)