fix wrong redeclare in different interfaces.