added default width to canvas