cleaning up settings