fixing a few issues on iphone