fix crash when no nav set