added iOS 7.0 support