Fixed multi line generation problem