fix shopping cart auto calculation