clean up some of the config stuff