error fix in nav_controller