1. After executing one line, the caret moves to the next line.
2. Replacing new line with "" is fixed.