typo that caused canvasID to not be set