product attach can switch in config