removed unused exception variables