fix random(1,6000) may return -ve result