fix external-id type from str to uint