bugfix in jet counting