fix memory leak on iOS7