finish master page