Fixed treefrog-thread