remove superfulious newlines