residual lines removal