Fixed threading.