fill the RootViewController
fixed all bugs