fix segMR bugs