fixed iOS 7 issues