remove some codes