fix dup config