fixing ipc bugs