updates to bug 877