fix setRoot behavior
change TimeView API