clean up conf