fixed for ssl hosts