fix home distance error