fix to parallel reduction variables