cleaning up conf file