adapt to the changes in opm-material