fix error in dict verification