refactoring canvas_container to canvas-container