cleanup view controller