finish ipc, optimize ipc and so on.