fixed: the head menu always show sub-menu