bug fix biq thread