fixed navigation flicker bug