removed useless try catch