replace sgen with uid