fixed seed problem