[web] fix collapse