to dot cleanup tables