fix shopping cart rest bug