fixed sphinx bug