revert freq and table fix