use contract.transact, fix react upgrade, reduce debugging noise