remove unused attrs