sorting out openmp errors