fix bug for loosing uid in seed