working on fixing duplicate cart problem