fixed cart bug