[feature] remove some debug code