Minor bub fix for MRI code