fix mm rest layout