delete code attribute