Wrong function call from utils.py fixed
Type set is buildin in python3
Avoid thread collision