delete main_view