fix regression of Bug 877675