remove unnecessary canvasWidth property
fix typo