fix up in safari webkit