fix misuse of static function in pact