iOS 7 Works Perfectly

minor fix on code