bug on refer showMessage function when bridge is called by a static function