removed printing labyrinth twice in certain cases