Fix incorrect index when getting uid