fixed bug in ios.py - missing classes... again - Term