fix typo

Fix a typo in the server side route

`_collecthooks` => `_collectHooks`