fixing cart selection