cross theads bug fixed