changedistance fix