Fixed bugs with iPhone 5