fix for macosx terminal chunking by line