revert random.nextDouble change