add logging and fix for getEndNavDetails