Fix dup method