fix autoTransfer bug