Hax for safari

Some haxing for safari