fixes app creation bug