fixed a bug , can't use totoal_quantity--, modify to total_quantity-=1