remove redundant exceptions.