fixed issue of loading in cart