sphinx fix