fix 'near misses' rule