fixed UID bug