fixed distance measurement bug