merge final into pages