Cleaning up settings