settings uid to guid() if not .uid set