remove else from try catch