remove unncessary config lines