remove unused exceptions