deleted unused nav_init function