bootmenu relevant changes
fix for debug mode