cleaning excess lines