fix difference count