fix color bug in duplicates/index