small bugs with config, cleaned up some formatting
config bugs fixed, cleaned formatting