Fixes Rand.die preparation