updated bug where text pages where empty