fixing transaction log