cleanup conf file