Fixed template missing newlines