bugfix in mo_os

Add the changes in mo_os that was done in mHM.

Merge request reports