iOS 6 backward compatiblity