deleted unneeded if
getStringArrayValue never returns null