add submenu assing to rpevent dev warning