replace Phalanx code wuth correct hook (BAC-134)