little fix to https download