clean config file
cleaned up code