fixed a bug with ithreaded introduced in the last check in