fix for small issue in Safari < 5