delete rebundant codes