check dictionary ok