fix for preview pages causing 404s