fix the exception that's raised by proxy test