Fixing transliteration rules, error checking globally