remove the trailing newline from the code template