fix case where mri is not loaded for serial.