dictionary entry error check