remove unnecessary viewcontrollers