Nm planner - fix this api

`const&`