added bootloader check for transfer mode