remove some debug related codes