solved thread issue #1