Ensured TP then clearInv; disable debugMode