better display of instantiation exceptions. fixes #281