delete mainuiview