handle None in string() call