improving fragmentTemplateDesign