preview error in canvas now