trim extra new line when using a multiline string