remove redundant hashmap initialization