change uid to source id

change snd_id to target id