Fixed a bug in IPC.