fixed randomness a bit