fixed bug where distance does not lock