fixed creation of raw TX