fix issue #954

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