Bug in ugi class checking logic
rename setSinkName to setTailName