removes matches edit