fixed saved images class reference in the execption code