remove accordion while fixing its bug