fixing events not working on iphone