remove unneeded exceptions