fixes safari issues