freq add and tbl fix