Failed to read all text, fixes #3