fix spacing of template