debugging tray errors