remove some debug bits