cleaning up sphynx errors