fixed hashmap create error bug