fix return Add after discount bug, changed database