fixed openMP inconsistency