Patches to fix reply for termination.