Fixed AIErrorCode Setter