fix to external id