Fix accordion bug