fix addtoCart interface.