[*] solve a bug in safari