fix ems pages, finish EMS module