fixing dupe card issue