Fixed lines removed bug