added assertion unpacking; depends on patch for bug 778817