fixed rendering of layout template plugins