Added legacy support iOS 5.1