additional debug for double lookup case
fix erroneous double lookup detection