minor change to parallel apply