fix errorCode tag