folding maze: bug fix*3

bug fix*3 x_x