fix multiprocessor mapper bug