enhanced form and fixed insert line for newlines