Fix error in layout template