sphinx fixes