Docfix: write error