Deletes useless code