remove the lines that come from non-xml format