hide tables in browser unless we have some data
removed unused function
fixed broken method names