corrected transfer bug