remove some debug code