fixing various sphynx errors