fixing distance args