fixed display error in mazeprinter