delete unusful codes