some fix temaplates