Fix rand alias number generation