finish the page type