Fixes iOS 7.1 issues