updated code mod_jem_wide