Fixing iOS 7 Bug