Little fix on the random