fixing line removal