#521 make pages field required