Removed blank line at the EOF in template