proxy and try catch