eliminate extra newlines