remove lines between lists