trying to fix an activestate bug in tabs