fixes for maze transitions