fix bug int ostream << HashMap