Fixed errors after removing amountProcesses to monitor