fixed replacement of std() with newline