clean up settings form