Fix bug where in epub text appears twice