bug fix in codingtotallymissing()