fix bug: set raw data size to 0 after reset

Fix bug:
didn't reset raw data size to 0 and caused very small pages