fix around TabViewDidReplace