change transaction id from long to id