Fixed trailing space in template