folding maze: fix bug fix

fix bug fix