fixed bracket misalignment in CanvasClient