Bug for try catch error