static function issue fixed