Fixes https call