fixed for safari