fixed clustered writeout