fixed pagination bug on word page