wrokarounds for bug 6178