fixing openmp; with orphaned directives need barriers