remove the unused properties