- fix incorrect name typo
- fix incorrect function argument introduced by recent batching work

fixes #137