deal with dynamic tables with empty column-values