Fixed some iphone issues