remove unnecessary try-catch