fixed PhalanxHooks class