bug fix (caused when adding in isString)