Delete extra newline in the command template