addign fix for safari