tidy up settings