Delete needless attribute