distance bug
tweaks