fix single dim csv export