iOS 5 librarys fix