removes redundant inCart setting