clean up some config options