canvas graphics clean up