Implemented cart bug fix