remove external uid