fixed distance issue