Modify bugs in special case finder

The distance() function use wrong converter