Fixed error in TransferNode logic