solved problem with parsing newlines