fix adding Vary when value stored as array