some fix for safari