fixed transaction upload bugs