fixed bug in threaded import using tmux