debugging for bug 917227
more work on bug 917227