change template to fix the size