add uid type and test comde