fix brackets and canvas id