fix writter for sphinx 1.2.3