fix canvases issue