acknowledge that my change was based on an older patch from Michael Richardson