fix dynamic fragment-views for layout