minor fix to omp barrier