fix for https url