fixed image_transfer bug, closes #82