Fix Safari 3-5