Reason code fix