fix uid pool; remove unused error