fixing the https issue