avoid TypeError when reading the active io
Merge pull request #989 from brad/type_error

avoid TypeError when reading the active io