cleanup debug output