mtac2: small cleanup + bugfix on refine