fixed newline bug
updated workflowHandler to fix newline bug