add checkArgs to parallelMap
fix parallelLibrary