Potential fix for safari crash