doc freq fix