fixed minor error in safari