Fix static function call warning