Trying to solve canvasbag problems