Fixing bad mim type