fix 1st transaction bug