correct one errorcode, and minor change to rest document