Fix EOF bug with text before 0.11.3