fixed a problem with rand duplicates