Fix the bug in AckProcessor.