fixing bug on cart