fix for bug 52