syntax error was crashing application