fix small bug in seed