trying to fix odd line ending issues in pre