Add missing new line and reset debug flags