fix generic support for isatty info