taking off the http as we will be running under ssl
adding fix requested by client