make random paths actually random as intended