removed main_draw_canvas variable