fixed sub menu bug