fix bug for transfer scan