fixed randomization bug + y direction