Make transaction compatible with API 1.2