fix generic LayoutViewBase