fixed bug in nav_plan