Fixes for miop parsing