fixed some errors to get nesi running multicore