fixed create app bug