Fixing IOS 6 Bug