delete atts which not used