close debug mode