Fix reply logic.