handling empty tables in template