fix to enable parallel processing