fix new lines for non empty fields