distance bug