fixed a bug and made a change to the accordion