fixes bug where a merge should happen but was not