tabled cleanup