fix bug programatic open/close submenues