Fix pagefield

clone of #1640