fixed transaction issue