better initialization of navigator state