fixed small bugs with cart