applied a patch from wyant (RT#71761)
fixed RT#71761