compile static function call fixed