fixed the config problem