reset debug flags