account for empty table