make uid to string