catch error if the summary is not as expected