finish layouts a routes