deleting bad code