fix add to cart with query