possible fix for https progressbar bug