fixing accordion mess