Remove unnecessary conf lines