fix canvastest