bug fix for new dictionary and empty matrice folder
bug fix for updated dictionary