fixed the bug 'disable the canvas when page is being refreshed'
updated mini file