minor code enhancement for uid-detail