Fixing improper setting of root page as text