changed editMaze