fixed distance travelled bug