fix bearcat generate app bug