remove unused exception variable