Fix currentProcess = NULL