cleaning up the config