tray restore fix
new mbox routine prototype