fixed memory leak issue with hashmap