fixed unfolding bug for open brace after found lines