replace ErrorCode underscore