Fixed safari detect