clean up some table stuff.