Fixed a bug with lines removal.