added mim shape registration to fix exception