fix uid type bug