fixed bug in parallelism when mapping across empty lists