removes unneeded table