DOC-2526 fix error display of code