fixes for wikipedia text data parsing