why the f... is causing isArray on a string an error and not just
false...?