Remove extra config lines