fixing the config