Fixed problems with creating new transactions