modify the state show bug and refator the transaction minute compute