remove inline static function