Fix random usage.