changed data sturcture to hashmap

problem still occurs.  the thread is being stopped