result table now hides when empty