FIXED: delete thread issue