Improved MIIT module

Also fixed a minor bug in DoaC