add lock to lrand calls for thread safety
update v2 vcl