improved edit_detectors
fix typo, added print statements that will have to come out