fixing cart bug