finish layouts and partials