attempted fix for safari