Fixed showing tables problem