adjusted for safari