fix for safari
fix for safari