Bug fix on flipping subtotal with vta