remove unused exception catch block