fast fix for https urls