fix https + "r" feature