clean up settings