fixes in canvas