fix: isTxAlready added as variable instead to prevent cannot redeclare issue