clean up some configs