fix config not existing profile bug