minor tweaks for iOS 6