Fix problem with new rule of transaction (Fix #16)