remove redundant exceptions