fix removeMarks