fixed failing case for SAM upgrade