thread issue resolved