removing a useless try-catch