remove main_select_canvas variable