fix range on obstacle position