adjust randam param