Fix for safari.