fix oxm functions