clean config file formatting