bug fix for value 0 in .table()