trying to fix for safari