Correct exception codes