fix: mtype check