fix for https in a few more places