fixed bug in reading dictionaries from hdf file
merge