Put ems in properly