Added  static variable.
Fixed the https issue.