init rand seed for each worker