fix viewTransaction