omp bug fix and f and c consistency