BugFix - nb_cores greather than 1 or -1