bugfix splitstring with newline