fix cart and tempCart pages.