fixed none nav context error