iOS safari bug fix