hopefully fixed bug causing table not showing