move this code inside the catch block ;)