fix when no menu set