Only write if not dup