add exception and proxy