Fixed multiline input issues.