Prevented a NPE caused by fixing randoms