fixed delete all sql syntax error