fix seed problem