fixed devanagari parser