fix random duplication after seed