Fix a bug with new page types (binary and text)