fix the OrderRepository/CartRepository bug