[#29] fix uid_generator