fix bug for menu accordion