Clean up settings