working around multiproc error.