fixed cloaking of assertion error thrown from proxy