correct function StripDoubleEmptyLines