fix blank line in template