fix memory leaks in SplitViewController