remove duplicate config entries