clean up dot generation