attempt 1 fix iOS safari bug