Fix spacing in templates