bug fixes to bigramHashMapVector