fix hashmap