fix for a bug in Safari 5.1.x under 10.6.x