correct type in style of canvases