fix app syntax error