fixed a bug in the icon confusion computation