minor bug with newlines