fix for num processes