test fix for safari