fixed new lines with subshells