also cleanup the conf file