leave margins to template