finalising pages