avoid re-instantiating hierarchy_of in error message