remove double definition of ConfigTrait