remove line that seems invalid