removes try-catch-statement