debug: set correct private variable among threads