fix upload rate initialization