clean p work dir, remove explict maxprocs setting