remove unneeded try catch blocks