delete globalsetCanvas function
UI