fix for undefined nav prob