rebuild view controller