check if is not an array instead of is_string. Could be int value