clean up unneeded tables