bug fix collapsed