Fixed wrong namespace reference
Fixed wrong param for hook