random no repeat fix