https redirection issue fixed