Nm planner - fix this api

OK, here is the guard checking. Then I think Unknown will do the job.