make sure newlines are shown where needed