deletion of bad code