added iOS 8.1 support