fixing a sql syntax error again