fix hashmap missing error