fix bug (nav bar blank when switch root view controller)