adjusted the submenu template