Revert "some changes for iOS 8"

This reverts commit cbff83624e058688479edf572f2cbf354dc8034f.
revert