bugfix for newlines