unfold bug fix