Fix subprocesses