Logic correction in default app_name