Nm planner - fix this api