remove ded code