when value is sharedString, get value inside array