fix typo in overlap removal