fix no https wrapper errors