correcting encoding of doctrings