patch by SPROUT to fix RT #79127