fix bug with cart visibility