finally fixed stupid bug about form field buy/sell was being reset before serialized