fixed idiotic rng placement