fix issue where a tx is not found