Fix potential bug in transfer method