fix productquantity reading