Fixed wrong miid name emit.