fixed a refactoring bug in AcidPipe