Removes Bogus Code