quick fix-up using process id instead of process object