fix crash with nav controller bar