fix mazes