fix bug in accordion
working with accordion