Fix single page publish