fixes

- hook was missing
- ns resolution was broken for underscores and case sensitive