fixed randomize