ignore letter case for checking transaction state
new version
merged